package com.mz.auth.service.impl;


import com.mz.auth.mapper.AuthUserMapper;
import com.mz.auth.service.AuthUserService;
import com.mz.common.domain.SysUser;
import com.mz.user.api.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 用户表
 *   主要为了登录信息
 */
@Service
public class AuthUserServiceImpl  implements AuthUserService {

    @Autowired
    private AuthUserMapper authUserMapper;

    @Override
    public SysUser loginByName(String loginName) {
        return authUserMapper.loginByName(loginName);
    }



}
